package com.koron.order.common.bean.query;

import com.koron.order.common.bean.po.OrderAllPo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;
import java.util.List;

/**
 * @ClassName OrderAllQuery
 * @description
 * @Author zhouj
 * @Date 2021/10/13 17:34
 */
@Data
@Accessors(chain = true)
public class OrderAllQuery extends OrderAllPo {

    @ApiModelProperty("工单idList")
    private List<String> idList;

    @ApiModelProperty(value = "工单类型List")
    private List<String> orderTypeList;

    @ApiModelProperty(value = "工单状态List")
    private List<String> statusList;

    @ApiModelProperty(value = "专业List")
    private List<String> majorList;

    @ApiModelProperty(value = "作业单位")
    private String workUnit;

    @ApiModelProperty(value = "作业单位名称")
    private String workUnitName;

    @ApiModelProperty(value = "作业单位List")
    private List<String> workUnitList;

    @ApiModelProperty(value = "作业单位名称List")
    private List<String> workUnitNameList;

    @ApiModelProperty(value = "创建时间区间")
    private List<Date> createSection;

    @ApiModelProperty(value = "当前登录人账号 工作负责人或者工作班成员为当前登录人-工单")
    private String account;

    @ApiModelProperty(value = "当前登录人账号列表 工作负责人或者工作班成员为当前登录人-工单")
    private List<String> accountList;

    @ApiModelProperty(value = "当前登录人所在单位id")
    private String orgId;

    @ApiModelProperty("设备id")
    private String equipmentId;

    @ApiModelProperty("当前日期 格式 yyyy-MM-dd")
    private String currDate;

    @ApiModelProperty(value = "日期列表")
    private List<String> dateList;

    @ApiModelProperty("月初一天日期 格式 yyyy-MM-dd")
    private String monthFirst;

    @ApiModelProperty("月末一天日期 格式 yyyy-MM-dd")
    private String monthEnd;

    @ApiModelProperty(value = "关键字搜索(编码及标题)")
    private String keyWord;

    @ApiModelProperty(value = "是否关联大修工单 1:关联 -1:不关联")
    private Integer overhaulRel;

    @ApiModelProperty(value = "是否是移动端")
    private Boolean mobile;

}
